/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package org.beiyou;

import java.util.Date;

/**
 * <p>Project: jse2204 - Book
 * <p>Powered by webrx On 2022-09-08 11:33:44
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Book {
    private int id;
    private String name;
    private String author;
    private String publish;
    private double price;
    private Date pubtime;

    public Book() {
    }

    public Book(int id, String name, String author, String publish, double price, Date pubtime) {
        this.id = id;
        this.name = name;
        this.author = author;
        this.publish = publish;
        this.price = price;
        this.pubtime = pubtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getPubtime() {
        return pubtime;
    }

    public void setPubtime(Date pubtime) {
        this.pubtime = pubtime;
    }



}
